Mac OS X Documentation


Objective-C


Introduction

Object-Oriented Programming

The Objective-C Language

Objective-C Extensions

The Run-Time System

Objective-C Language Summary

Reference Manual for the Obejctive-C Language

Glossary


PDF

Introduction

The Development Environment

Why Objective-C

How The Manual is Organized

Conventions

Object-Oriented Programming

Interface and Implementation The Object Model

The Messaging Metaphor
Classes
Mechanisms of Abstraction
Inheritance
Dynamism

Structuring Programs

Outlet Connections
Aggregation and Decomposition
Models and Frameworks

Structuring the Programming Tasks

Collaboration
Organizing Object-Oriented Projects

The Objective-C Language

Objects

ID
Dynamic Typing

Messages

The Receiver's Instance Variables
Polymorphism
Dynamic Binding

Classes

Inheritance
Class Types
Class Objects
Class Names in Source Code

Defining a Class

The Interface
The Implementation

How Messaging Works

Selectors
Hidden Arguments
Messages to self and super

Objective-C Extensions

Categories

Adding to a Class
How Categories are Used
Categories of the Root Class

Protocols

How Protocols are Used
Informal Protocols
Formal Protocols

Remote Messaging

Distributed Objects
Language SupportT

Static Options

Static Typing
Getting a Method Address
Getting an Object Data Structure

Type Encoding

The Run-Time System

Allocation and Initialization

Allocating Memory for Objects
Initializing New Objects
Combining Allocation and Initialization
Deallocation

Forwarding

Forwarding and Multiple Inheritance
Surrogate ObjectsS
Making Forwarding Transparent

Dynamic Loading

Objective-C Language Summary

Messages

Defined Types

Preprocessor Directives

Compiler Directives

Classes

Categories

Formal Protocols

Method Declarations

Method Implementations

Naming Conventions

Reference Manual for the Objective-C Language

External Declarations

Type Specifiers

Type Qualifiers

Primary Expressions

Glossary